import request from '@/utils/request';

//获取考勤课程列表
export function GetAttendanceList_Page(data) {
  return request({
    url: 'api/CourseDelivery/GetAttendanceList_Page',
    method: 'post',
    data
  });
}

//获取考勤课程详情
export function GetAttendanceDetail(data) {
  return request({
    url: 'api/CourseDelivery/GetAttendanceDetail',
    method: 'post',
    data
  });
}

//开始上课
export function BeginClass(data) {
  return request({
    url: 'api/CourseDelivery/BeginClass',
    method: 'post',
    data
  });
}

//结束上课
export function EndClass(data) {
  return request({
    url: 'api/CourseDelivery/EndClass',
    method: 'post',
    data
  });
}

//获取正在上的课
export function GetHavingClass(data) {
  return request({
    url: 'api/CourseDelivery/GetHavingClass',
    method: 'post',
    data
  });
}
